package cn.itcast.dubbo.pojo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 库存实体
 *
 * @author .
 * created in 2020/1/16 16:44
 */

@Data
@ToString
public class Warehouse implements  java.io.Serializable{

    private String id;
    private String goods;
    private Integer count;
    private Double price;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date time;
    private Integer type;
    private String operator;

}
